#ifndef CREATEBUTTONLISTENER_H_
#define CREATEBUTTONLISTENER_H_

#include "../../SDLtoolkit/widgets/TextScrollBar.h"
#include "../../SDLtoolkit/widgets/Textbox.h"
#include "../../SDLtoolkit/Listener.h"
#include "../../persistencia/Persistor.h"

class CreateButtonListener : public Listener{
public:
	CreateButtonListener();
	CreateButtonListener(TextScrollBar* textScrollBar, Textbox* textbox);
	virtual ~CreateButtonListener();
	void execute();

private:
	TextScrollBar* textScrollBar;
	Textbox* textbox;

};

#endif /* CREATEBUTTONLISTENER_H_ */
